

<template>
  <div >
    <el-container>
<!--   侧边栏   -->
      <el-aside style="border: 1px solid" width="200px">
        <el-menu>
          <el-menu-item index="1">用户管理</el-menu-item>
          <el-menu-item index="2">车联管理</el-menu-item>
          <el-menu-item index="3">围栏管理</el-menu-item>
          <el-menu-item index="4">充电管理</el-menu-item>
        </el-menu>
      </el-aside>
      <el-container>
<!--    右边页面内容    -->
        <el-header style="  border: 1px solid">
          <h1 style="background-color: #00a1ed; color:#fff;">智能车辆管系统-IVOS</h1>
        </el-header>
        <el-main style="border: 1px solid">
          <el-table :data="vehicleArr">
            <el-table-column label="序号" type="index" align="center" width="80"></el-table-column>
            <el-table-column label="品牌" prop="brand" align="center" ></el-table-column>
            <el-table-column label="车型" prop="model" align="center" ></el-table-column>
            <el-table-column label="车牌号" prop="license" align="center" ></el-table-column>
            <el-table-column label="颜色" prop="color" align="center" ></el-table-column>
            <el-table-column label="售价" prop="price" align="center" ></el-table-column>
          </el-table>
        </el-main>
      </el-container>
    </el-container>
  </div>

</template>

<script setup>

import {ref} from "vue";

const vehicleArr=ref([
  {brand:"奔驰",model:'c级',license:'冀B99999',color:"red",price:99999},
  {brand:"奔驰",model:'c级',license:'冀B99999',color:"red",price:99999},
  {brand:"奔驰",model:'c级',license:'冀B99999',color:"red",price:99999},
  {brand:"奔驰",model:'c级',license:'冀B99999',color:"red",price:99999},
  {brand:"奔驰",model:'c级',license:'冀B99999',color:"red",price:99999},
  {brand:"奔驰",model:'c级',license:'冀B99999',color:"red",price:99999},
  {brand:"奔驰",model:'c级',license:'冀B99999',color:"red",price:99999}
]);

</script>

<style scoped>

</style>